package com.junjie.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RDevice {
    private Integer id;//设备主键 id
    private String rId;//房间号
    private Integer apt_id;//公寓的apt_id号
    private String name;//设备名称
    private BigDecimal price;//设备价值
    private Integer dStatus;//设状态
    private Integer report;//是否报修
    private Integer status;//设备状态

    public void setAptId(Integer aptID){
        this.apt_id =aptID;
    }

    public Integer getAptId(){
        return  apt_id ;
    }
}
